package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 叙词关系维护对象 sys_thesauri_word_relation
 * 
 * @author ruoyi
 * @date 2022-08-22
 */
public class SysThesauriWordRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 关系中文名称 */
    @Excel(name = "关系中文名称")
    private String nameZh;

    /** 关系英文名称 */
    @Excel(name = "关系英文名称")
    private String nameEn;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 关系描述 */
    @Excel(name = "关系描述")
    private String description;

    /** 关联叙词表模块表 */
    @Excel(name = "关联叙词表模块表")
    private Long thesauriWordModuleId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNameZh(String nameZh) 
    {
        this.nameZh = nameZh;
    }

    public String getNameZh() 
    {
        return nameZh;
    }
    public void setNameEn(String nameEn) 
    {
        this.nameEn = nameEn;
    }

    public String getNameEn() 
    {
        return nameEn;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setThesauriWordModuleId(Long thesauriWordModuleId) 
    {
        this.thesauriWordModuleId = thesauriWordModuleId;
    }

    public Long getThesauriWordModuleId() 
    {
        return thesauriWordModuleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nameZh", getNameZh())
            .append("nameEn", getNameEn())
            .append("sort", getSort())
            .append("description", getDescription())
            .append("thesauriWordModuleId", getThesauriWordModuleId())
            .toString();
    }
}
